import request from '@/utils/request'

// 查询业态销售明细列表
export function listDealMonitoringDetail(query) {
  return request({
    url: '/detail/dealMonitoringDetail/list',
    method: 'get',
    params: query
  })
}

// 查询业态销售明细详细
export function getDealMonitoringDetail(id) {
  return request({
    url: '/detail/dealMonitoringDetail/' + id,
    method: 'get'
  })
}

// 保存业态销售明细
export function saveDealMonitoringDetail(data) {
  return request({
    url: '/detail/dealMonitoringDetail/save',
    method: 'post',
    data: data
  })
}

// 删除业态销售明细
export function delDealMonitoringDetail(id) {
  return request({
    url: '/detail/dealMonitoringDetail/' + id,
    method: 'delete'
  })
}

// 导出业态销售明细
export function exportDealMonitoringDetail(query) {
  return request({
    url: '/detail/dealMonitoringDetail/export',
    method: 'get',
    params: query
  })
}
